package com.zkthink.ceres.app.authority.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @Author cmz
 * @Date 2024-05-08 16:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "账号角色分类", description = "账号角色分类")
public class SetRoleTypeDTO {
    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号必填")
    private String account;

    @ApiModelProperty(value = "角色类型(0:商家、1:理疗车)")
    @NotBlank(message = "角色类型必填")
    private Integer roleType;
}
